package com.bubblegumproject.ogo.tx;

import com.bubblegumproject.ogo.component.InterceptorClass;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;

/**
 * Annotation indicating a component method particpates in transactional behavior.
 *
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@InterceptorClass(TransactionInterceptor.class)
public @interface Transactional {
}
